﻿using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using YXQ.Dao;
using YXQ.Dao.ViewModel;
namespace YXQ.IService
{

    public interface IBJService
    {


        List<Y_BJ> GetList(int startIndex, int maxRow, out int recordcount);

        BJModel GetOneById(int id);
        BJModel GetOneByProjectId(int tpid);
        BJModel GetOneByProjectId(int tpid,int reid);
        List<BJModel> GetByProjectId(int id);
        int Save(BJModel obj);

        int DelById(int id);


    }

}

